package com.jusyl.cristo.init;

import java.util.List;

import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.jusyl.cristo.auth.busi.AuthBusi;
import com.jusyl.cristo.auth.model.AuthRole;
import com.jusyl.cristo.auth.model.AuthUser;

import lombok.extern.slf4j.Slf4j;

@Controller
public class InitAction {
	Logger logger = LoggerFactory.getLogger(InitAction.class);
	
	/**
	 * 专为使用ftl的首页使用
	 * @return
	 */
	@RequestMapping("index")
	public String index() {
		return "index";
	}
	
	@RequestMapping("auth/authManagement")
	public String authManagement() {
		return "/back/AuthManagement";
	}
	
}
